package com.label.hebutadmin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@ComponentScan("com.label")
@EnableCaching
@ServletComponentScan
@EnableOpenApi
@MapperScan({"com.label.Dao","com.label.grade.mapper"})
@EnableScheduling
public class HebutAdminApplication {

	public static void main(String[] args) {
		SpringApplication.run(HebutAdminApplication.class, args);
	}

}
